#include <stdio.h>
#include "count_sort.h"

#define MAX_LENGTH 10

int main() {
    int input[MAX_LENGTH] = {1, 2, -3, 6, 7, 9, 3, 5, 4, 2};
    int output[MAX_LENGTH] = {0};

    count_sort(input, MAX_LENGTH, output, MAX_LENGTH);
    int i = 0;
    printf("计数排序输出结果\n");
    for(i = 0; i < MAX_LENGTH; i++){
        printf("%d ", output[i]);
    }
    printf("\n");

    return 0;
}
